package com.glorious.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.glorious.dto.response.appuser.AppUserAuthResponse;
import com.glorious.entities.AppUser;

public interface IAppUserService extends IService<AppUser> {

    /**
     * 新增用户
     */
    Long add(AppUser appUser);

    /**
     * 根据openId获取用户认证信息
     */
    AppUserAuthResponse getByOpenId(String openId);

    /**
     * 根据手机号获取用户认证信息
     */
    AppUserAuthResponse getByMobile(String mobile);
}
